------------------------------------------------------------------------------------------------------
       log:  C:\DATA\lcross_extra.log
  log type:  text
 opened on:  18 May 2005, 10:46:40

.  #delimit ;
delimiter now ;
. *     ***************************************************************** *;
. *     ***************************************************************** *;
. *       File-Name:      lcross_extra.do                                 *;
. *       Date:           5/18/05                                         *;
. *       Author:         MRG                                             *;
. *       Purpose:        Do-file to replicate results for AJPS version   *;
. *                       of presidential candidates paper for extra      *;
. *                       cross-sections where dependent variable is      *;
. *                       electoral parties. Results are equivalent to    *;
. *                       those shown in Table 1.                         *;
. *       Input File:     lcross_extra.dta                                *;
. *       Output File:    lcross_extra.log                                *;
. *       Data Output:    None                                            *;
. *       Previous file:                                                  *;
. *       Machine:        Home                                            *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. set mem 10m;
(10240k)

. set matsize 150;

. use c:\ajps\lcross_extra.dta;

. *     ****************************************************************  *;
. *                           Summary Statistics                          *;
. *     ****************************************************************  *;
. sum;

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
     country |         0
countrynum~r |       867     100.083    39.39866          3        199
        year |       867    1978.435    16.12735       1946       2000
 institution |       867    1.720877    .8967816          1          3
     legelec |       867           1           0          1          1
-------------+--------------------------------------------------------
    preselec |       867    .2226067    .4162364          0          1
      regime |       867    .0207612    .1426664          0          1
  regime_leg |       867           0           0          0          0
    eighties |       867    .0784314    .2690044          0          1
eighties_l~r |       867    .0784314    .2690044          0          1
-------------+--------------------------------------------------------
nineties_l~r |       867    .1314879    .3381282          0          1
    nineties |       867    .1234141    .3291017          0          1
   nineties1 |       867    .1314879    .3381282          0          1
nineties_u~r |       867    .1326413    .3393824          0          1
         old |       867    .8662053    .3406281          0          1
-------------+--------------------------------------------------------
      avemag |       843     11.2979    27.15588          1        150
   districts |       844    92.96682    141.6076          1        659
        eneg |       708    1.941652    1.227505   1.004012   14.22434
       enep1 |       788    4.273211    3.811859          1      57.56
 enep_others |       788    3.154099    7.559339          0       69.3
-------------+--------------------------------------------------------
       enpp1 |       814    3.934066    7.452793          1     178.65
 enpp_others |       815    1.599509    6.055805          0         86
      enpres |       858    1.186659    1.595493          0       6.57
      newdem |       867    .1534025    .3605831          0          1
  proximity1 |       867    .2918454    .4175579          0          1
-------------+--------------------------------------------------------
  proximity2 |       867    .2214533    .4154646          0          1
       seats |       860     201.943    163.7675         10        672
  upperseats |       817    14.89229    45.95744          0        344
   uppertier |       817    5.632791    12.65088          0      77.95
twoelections |       867    .0207612    .1426664          0          1
-------------+--------------------------------------------------------
twoelectio~1 |       867    .0103806    .1014136          0          1
pres_plura~y |       867    .0968858     .295973          0          1
 pres_runoff |       867    .2064591    .4049974          0          1
pres_major~y |       867    .0588235    .2354299          0          1
pres_qualm~y |       867    .0403691    .1969369          0          1
-------------+--------------------------------------------------------
    pres_stv |       867    .0034602    .0587556          0          1
pres_college |       867    .0230681    .1502063          0          1

. *     ****************************************************************  *;
. *                    Relabel and Define Variables                       *;
. *     ****************************************************************  *;
. label var country  "countryname";

. label var newdem "first election as new democracy";

. label var countrynumber "countrynumber";

. label var year "year";

. label var regime "regime as of 31 December of given year 0=democracy 1=dictatorship";

. label var regime_leg "regime type at time of legislative election 0 = democracy 1=dictatorship";

. label var legelec "legislative election";

. label var preselec "presidential election";

. label var eighties "election in 1980s closest to 1985";

. label var old "elections in countries that did not transition to democracy in 1990s";

. label var nineties "elections in 1990s closest to 1995";

. label var proximity1 "proximity - continuous";

. label var proximity2 "proximity - dichotomous";

. label var enpp1 "parliamentary parties - corrected";

. label var enep1 "electoral parties - corrected";

. label var enpres "effective number of presidential candidates";

. label var seats "assembly size";

. label var districts "number of electoral districts";

. label var avemag "average district magnitude";

. label var upperseats "number of uppertier seats";

. label var uppertier "percentage of uppertier seats";

. label var eneg "effective number of ethnic groups  fearon";

. describe;

Contains data from c:\ajps\lcross_extra.dta
  obs:           867                          
 vars:            37                          24 May 2004 13:55
 size:        89,301 (99.1% of memory free)
-------------------------------------------------------------------------------
              storage  display     value
variable name   type   format      label      variable label
-------------------------------------------------------------------------------
country         str31  %31s                   countryname
countrynumber   int    %8.0g                  countrynumber
year            int    %8.0g                  year
institution     byte   %8.0g                  
legelec         byte   %8.0g                  legislative election
preselec        byte   %8.0g                  presidential election
regime          byte   %8.0g                  regime as of 31 December of
                                                given year 0=democracy
                                                1=dictatorship
regime_leg      byte   %8.0g                  regime type at time of
                                                legislative election 0 =
                                                democracy 1=dictatorship
eighties        byte   %8.0g                  election in 1980s closest to
                                                1985
eighties_lower  byte   %8.0g                  
nineties_lower  byte   %8.0g                  
nineties        byte   %8.0g                  elections in 1990s closest to
                                                1995
nineties1       byte   %8.0g                  
nineties_upper  byte   %8.0g                  
old             byte   %8.0g                  elections in countries that did
                                                not transition to democracy in
                                                1990s
avemag          float  %9.0g                  average district magnitude
districts       int    %8.0g                  number of electoral districts
eneg            float  %9.0g                  effective number of ethnic
                                                groups  fearon
enep1           float  %9.0g                  electoral parties - corrected
enep_others     float  %9.0g                  
enpp1           float  %9.0g                  parliamentary parties -
                                                corrected
enpp_others     float  %9.0g                  
enpres          float  %9.0g                  effective number of
                                                presidential candidates
newdem          byte   %8.0g                  first election as new democracy
proximity1      float  %9.0g                  proximity - continuous
proximity2      byte   %8.0g                  proximity - dichotomous
seats           int    %8.0g                  assembly size
upperseats      int    %8.0g                  number of uppertier seats
uppertier       float  %9.0g                  percentage of uppertier seats
twoelections    byte   %8.0g                  
twoelections1   byte   %8.0g                  
pres_plurality  byte   %8.0g                  
pres_runoff     byte   %8.0g                  
pres_majority   byte   %8.0g                  
pres_qualmajo~y byte   %8.0g                  
pres_stv        byte   %8.0g                  
pres_college    byte   %8.0g                  
-------------------------------------------------------------------------------
Sorted by:  

. *     ****************************************************************  *;
. *       Would like to drop countries that have no recognizable parties  *;
. *       since I am interested in determining the number of parties.     *;
. *       Drop Kiribati, Marshall Islands, Micronesia, Nauru, Palau,      *;
. *       Lebanon (at least no votes by party), Kyrgzstan.                *;
. *       Since I am interested in competitive elections I drop the       *;
. *       elections that occurred in Colombia between 1958 and 1970 due   *;
. *       to a constitutional agreement to share power between the        *;
. *       conservative and liberal parties.                               *;
. *       Also drop the Congolese elections of 1963.  Although there were *;
. *       multiple parties permitted, all candidates ran on a single list.*;
. *       Thus, there was no actual competition in this election.         *;
. *     ****************************************************************  *;
. drop if countrynumber==163;
(6 observations deleted)

. drop if countrynumber==165;
(2 observations deleted)

. drop if countrynumber==197;
(3 observations deleted)

. drop if countrynumber==189;
(5 observations deleted)

. drop if countrynumber==146;
(12 observations deleted)

. drop if countrynumber==198;
(2 observations deleted)

. drop if countrynumber==167;
(8 observations deleted)

. drop if countrynumber==70 & year==1958;
(1 observation deleted)

. drop if countrynumber==70 & year==1960;
(1 observation deleted)

. drop if countrynumber==70 & year==1962;
(1 observation deleted)

. drop if countrynumber==70 & year==1964;
(1 observation deleted)

. drop if countrynumber==70 & year==1966;
(1 observation deleted)

. drop if countrynumber==70 & year==1968;
(1 observation deleted)

. drop if countrynumber==70 & year==1970;
(1 observation deleted)

. drop if countrynumber==12 & year==1963;
(1 observation deleted)

. sum;

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
     country |         0
countrynum~r |       821     97.3715    37.35025          3        199
        year |       821     1978.35    16.15197       1946       2000
 institution |       821    1.719854    .8927666          1          3
     legelec |       821           1           0          1          1
-------------+--------------------------------------------------------
    preselec |       821    .2180268    .4131574          0          1
      regime |       821    .0207065    .1424866          0          1
  regime_leg |       821           0           0          0          0
    eighties |       821    .0803898    .2720614          0          1
eighties_l~r |       821    .0803898    .2720614          0          1
-------------+--------------------------------------------------------
nineties_l~r |       821    .1315469    .3382035          0          1
    nineties |       821    .1230207    .3286612          0          1
   nineties1 |       821    .1315469    .3382035          0          1
nineties_u~r |       821    .1327649    .3395273          0          1
         old |       821    .8733252    .3328111          0          1
-------------+--------------------------------------------------------
      avemag |       804    11.72699    27.73206          1        150
   districts |       805    96.60373    143.9838          1        659
        eneg |       690    1.889245    1.181049   1.004012   14.22434
       enep1 |       779    4.276418    3.829688       1.23      57.56
 enep_others |       779    3.171412    7.596386          0       69.3
-------------+--------------------------------------------------------
       enpp1 |       796    3.322802    1.756047          1      20.94
 enpp_others |       797    1.440527    4.762796          0       54.1
      enpres |       815     1.21214    1.616311          0       6.57
      newdem |       821    .1534714     .360661          0          1
  proximity1 |       821    .2911449    .4150291          0          1
-------------+--------------------------------------------------------
  proximity2 |       821    .2168088    .4123225          0          1
       seats |       814    210.0037    164.1061         11        672
  upperseats |       778    15.61954    46.97577          0        344
   uppertier |       778    5.883021    12.88335          0      77.95
twoelections |       821    .0219245    .1465263          0          1
-------------+--------------------------------------------------------
twoelectio~1 |       821    .0109622    .1041887          0          1
pres_plura~y |       821     .090134    .2865482          0          1
 pres_runoff |       821    .2131547    .4097857          0          1
pres_major~y |       821    .0572473    .2324561          0          1
pres_qualm~y |       821    .0426309    .2021468          0          1
-------------+--------------------------------------------------------
    pres_stv |       821    .0036541    .0603752          0          1
pres_college |       821    .0243605    .1542598          0          1

. *     ****************************************************************  *;
. *       Generate interaction variables ready for regressions.           *;
. *     ****************************************************************  *;
. generate logmag=ln(avemag);
(17 missing values generated)

. generate uppertier_eneg = uppertier*eneg;
(173 missing values generated)

. generate logmag_eneg = logmag*eneg;
(148 missing values generated)

. generate proximity1_enpres = proximity1*enpres;
(6 missing values generated)

. *     ****************************************************************  *;
. *       Need to drop elections that use a fused vote in legislative     *;
. *       and presidential elections.                                     *;
. *       Drop Bolivia, Uruguay, Honduras up to and including the 1993    *;
. *       elections, Guatemala elections in 1990 (fused vote with         *;
. *       national district), Dominican Republic elections in 1966, 1970, *;
. *       1974 and 1986.                                                  *;
. *     ****************************************************************  *;
. drop if countrynumber==67;
(6 observations deleted)

. drop if countrynumber==76;
(10 observations deleted)

. drop if countrynumber==59 & year==1957;
(1 observation deleted)

. drop if countrynumber==59 & year==1971;
(1 observation deleted)

. drop if countrynumber==59 & year==1985;
(1 observation deleted)

. drop if countrynumber==59 & year==1989;
(1 observation deleted)

. drop if countrynumber==59 & year==1993;
(1 observation deleted)

. drop if countrynumber==57 & year==1990;
(1 observation deleted)

. drop if countrynumber==54 & year==1966;
(1 observation deleted)

. drop if countrynumber==54 & year==1970;
(1 observation deleted)

. drop if countrynumber==54 & year==1974;
(1 observation deleted)

. drop if countrynumber==54 & year==1986;
(1 observation deleted)

. *     ****************************************************************  *;
. *       Drop those countries where enep1 others are greater than 15% of *;
. *       the vote or seats.                                              *;
. *     ****************************************************************  *;
. sum;

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
     country |         0
countrynum~r |       795    98.37987    37.49907          3        199
        year |       795    1978.405    16.17628       1946       2000
 institution |       795    1.677987    .8761928          1          3
     legelec |       795           1           0          1          1
-------------+--------------------------------------------------------
    preselec |       795    .1924528    .3944749          0          1
      regime |       795    .0201258     .140519          0          1
  regime_leg |       795           0           0          0          0
    eighties |       795    .0779874    .2683206          0          1
eighties_l~r |       795    .0792453    .2702913          0          1
-------------+--------------------------------------------------------
nineties_l~r |       795    .1308176    .3374131          0          1
    nineties |       795    .1232704    .3289543          0          1
   nineties1 |       795    .1320755    .3387859          0          1
nineties_u~r |       795    .1345912    .3415012          0          1
         old |       795    .8691824    .3374131          0          1
-------------+--------------------------------------------------------
      avemag |       780    10.67815    26.32788          1        150
   districts |       781    99.17414    145.3965          1        659
        eneg |       668    1.885193    1.181399   1.004012   14.22434
       enep1 |       755    4.307722    3.878852       1.23      57.56
 enep_others |       755     3.25645    7.698141          0       69.3
-------------+--------------------------------------------------------
       enpp1 |       771    3.336381    1.774226          1      20.94
 enpp_others |       772    1.487176    4.832215          0       54.1
      enpres |       790    1.150055    1.589989          0       6.57
      newdem |       795    .1484277    .3557472          0          1
  proximity1 |       795    .2679623    .4011204          0          1
-------------+--------------------------------------------------------
  proximity2 |       795     .191195    .3934898          0          1
       seats |       788    213.4581    165.6253         11        672
  upperseats |       752    16.04122    47.66664          0        344
   uppertier |       752    5.992061    12.95682          0      77.95
twoelections |       795    .0226415    .1488514          0          1
-------------+--------------------------------------------------------
twoelectio~1 |       795    .0113208    .1058617          0          1
pres_plura~y |       795    .0716981    .2581498          0          1
 pres_runoff |       795     .208805    .4067107          0          1
pres_major~y |       795    .0566038    .2312294          0          1
pres_qualm~y |       795    .0352201    .1844518          0          1
-------------+--------------------------------------------------------
    pres_stv |       795    .0037736    .0613521          0          1
pres_college |       795    .0251572    .1567011          0          1
      logmag |       780    1.300769    1.266935          0   5.010635
uppertier_~g |       626    8.788684     28.8885          0   415.1962
 logmag_eneg |       653    2.353421    2.800488          0   25.75041
-------------+--------------------------------------------------------
proximity1~s |       790    .7497948    1.240595          0       6.57

. drop if enep_others>15 & enep_others<100;
(29 observations deleted)

. sum;

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
     country |         0
countrynum~r |       766    98.18016    36.94863          3        199
        year |       766    1978.255      16.153       1946       2000
 institution |       766    1.673629    .8725347          1          3
     legelec |       766           1           0          1          1
-------------+--------------------------------------------------------
    preselec |       766    .1906005    .3930313          0          1
      regime |       766    .0182768     .134038          0          1
  regime_leg |       766           0           0          0          0
    eighties |       766    .0770235    .2668029          0          1
eighties_l~r |       766     .078329    .2688641          0          1
-------------+--------------------------------------------------------
nineties_l~r |       766    .1305483    .3371258          0          1
    nineties |       766    .1214099    .3268164          0          1
   nineties1 |       766    .1292428    .3356877          0          1
nineties_u~r |       766    .1292428    .3356877          0          1
         old |       766    .8733681    .3327774          0          1
-------------+--------------------------------------------------------
      avemag |       753    11.00697    26.73715          1        150
   districts |       754    96.58621    144.5025          1        659
        eneg |       648    1.851634    1.155399   1.004012   14.22434
       enep1 |       726    3.926618    1.928414       1.23      17.37
 enep_others |       726    1.972989    2.764791          0       14.7
-------------+--------------------------------------------------------
       enpp1 |       745    3.250604    1.520486          1       11.7
 enpp_others |       746    .9427614    2.950201          0       33.3
      enpres |       761    1.142673    1.588175          0       6.57
      newdem |       766    .1409922    .3482409          0          1
  proximity1 |       766    .2662272    .4001552          0          1
-------------+--------------------------------------------------------
  proximity2 |       766     .189295    .3919988          0          1
       seats |       761    212.7766    165.2849         11        672
  upperseats |       723    15.30152     45.9748          0        344
   uppertier |       723     5.82888    12.72061          0      77.95
twoelections |       766    .0234987      .15158          0          1
-------------+--------------------------------------------------------
twoelectio~1 |       766    .0117493    .1078261          0          1
pres_plura~y |       766    .0704961    .2561485          0          1
 pres_runoff |       766    .2062663    .4048883          0          1
pres_major~y |       766    .0535248    .2252246          0          1
pres_qualm~y |       766    .0365535    .1877855          0          1
-------------+--------------------------------------------------------
    pres_stv |       766    .0039164    .0624997          0          1
pres_college |       766    .0261097    .1595656          0          1
      logmag |       753    1.338438    1.269949          0   5.010635
uppertier_~g |       606    8.565726    28.78322          0   415.1962
 logmag_eneg |       635    2.395093    2.817668          0   25.75041
-------------+--------------------------------------------------------
proximity1~s |       761    .7427174    1.233463          0       6.57

.                *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *               So, now let's run stuff                                 *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *                    Elections closest to 1985                          *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. regress enep1  proximity1 enpres proximity1_enpres logmag  eneg logmag_eneg if eighties==1, robust;

Regression with robust standard errors                 Number of obs =      40
                                                       F(  6,    33) =    5.24
                                                       Prob > F      =  0.0007
                                                       R-squared     =  0.5085
                                                       Root MSE      =  1.4682

------------------------------------------------------------------------------
             |               Robust
       enep1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  proximity1 |  -2.801177   1.015846    -2.76   0.009    -4.867931   -.7344228
      enpres |   1.194238   .3090146     3.86   0.000     .5655433    1.822933
proximity1~s |  -.5833484   .4788877    -1.22   0.232    -1.557653     .390956
      logmag |  -.3361184   .3250004    -1.03   0.309    -.9973367    .3250998
        eneg |  -.0492941    .050501    -0.98   0.336    -.1520392    .0534511
 logmag_eneg |   .4050611   .2157685     1.88   0.069    -.0339233    .8440455
       _cons |    3.32176   .4716557     7.04   0.000     2.362169     4.28135
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *                    Elections closest to 1980                          *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. regress enep1  proximity1 enpres proximity1_enpres logmag  eneg logmag_eneg if eighties_lower==1, ro
> bust;

Regression with robust standard errors                 Number of obs =      40
                                                       F(  6,    33) =    2.11
                                                       Prob > F      =  0.0781
                                                       R-squared     =  0.3413
                                                       Root MSE      =  1.5505

------------------------------------------------------------------------------
             |               Robust
       enep1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  proximity1 |  -4.623836   1.667158    -2.77   0.009    -8.015693   -1.231978
      enpres |  -.3067608   .4476018    -0.69   0.498    -1.217413    .6038919
proximity1~s |   1.906368   .9477598     2.01   0.053    -.0218641      3.8346
      logmag |   .1646359   .3568364     0.46   0.648    -.5613532     .890625
        eneg |  -.0391044   .0604848    -0.65   0.522    -.1621616    .0839528
 logmag_eneg |   .0954959   .2626272     0.36   0.718    -.4388232    .6298149
       _cons |   3.342556   .4139487     8.07   0.000     2.500371    4.184741
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *                       Elections closest to 1995                       *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. regress enep1  proximity1 enpres proximity1_enpres logmag  eneg logmag_eneg if nineties1==1, robust;

Regression with robust standard errors                 Number of obs =      72
                                                       F(  6,    65) =    8.66
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.2498
                                                       Root MSE      =  2.1542

------------------------------------------------------------------------------
             |               Robust
       enep1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  proximity1 |  -4.421141   .9966656    -4.44   0.000    -6.411619   -2.430662
      enpres |   .2019544   .2470995     0.82   0.417    -.2915374    .6954463
proximity1~s |   1.155136   .2998177     3.85   0.000     .5563585    1.753913
      logmag |   .6257657   .2512962     2.49   0.015     .1238924    1.127639
        eneg |   .0349117   .2318183     0.15   0.881    -.4280613    .4978848
 logmag_eneg |  -.1370639   .0845525    -1.62   0.110    -.3059269    .0317991
       _cons |   4.298143   .5834655     7.37   0.000     3.132882    5.463404
------------------------------------------------------------------------------

. regress enep1  proximity1 enpres proximity1_enpres logmag  eneg logmag_eneg if nineties1==1 & old==1
> , robust;

Regression with robust standard errors                 Number of obs =      42
                                                       F(  6,    35) =    8.41
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.4400
                                                       Root MSE      =  1.5307

------------------------------------------------------------------------------
             |               Robust
       enep1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  proximity1 |  -5.096252   1.021942    -4.99   0.000    -7.170905   -3.021599
      enpres |   .0731976   .1424627     0.51   0.611     -.216017    .3624121
proximity1~s |   1.474441   .3057429     4.82   0.000     .8537498    2.095132
      logmag |    -.78447   .5763959    -1.36   0.182    -1.954616    .3856758
        eneg |  -.8655444   .5624706    -1.54   0.133     -2.00742    .2763316
 logmag_eneg |   .7965803   .3918196     2.03   0.050     .0011441    1.592016
       _cons |   5.232133   1.056907     4.95   0.000     3.086498    7.377769
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *                       Elections closest to 1990                       *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. regress enep1  proximity1 enpres proximity1_enpres logmag  eneg logmag_eneg if nineties_lower==1, ro
> bust;

Regression with robust standard errors                 Number of obs =      75
                                                       F(  6,    68) =    5.97
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.3195
                                                       Root MSE      =  2.0083

------------------------------------------------------------------------------
             |               Robust
       enep1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  proximity1 |  -4.232253   .9443577    -4.48   0.000    -6.116689   -2.347816
      enpres |   .3321677   .1999575     1.66   0.101    -.0668413    .7311767
proximity1~s |   1.060255    .360664     2.94   0.004     .3405609    1.779949
      logmag |   .8177602   .2347545     3.48   0.001     .3493149    1.286206
        eneg |   .1039271   .1710092     0.61   0.545    -.2373165    .4451707
 logmag_eneg |  -.2018762   .0690502    -2.92   0.005    -.3396637   -.0640887
       _cons |   3.667742   .5053551     7.26   0.000     2.659322    4.676163
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *                       Elections closest to 2000                       *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. regress enep1  proximity1 enpres proximity1_enpres logmag  eneg logmag_eneg if nineties_upper==1, ro
> bust;

Regression with robust standard errors                 Number of obs =      73
                                                       F(  6,    66) =    7.30
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.2625
                                                       Root MSE      =   1.784

------------------------------------------------------------------------------
             |               Robust
       enep1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  proximity1 |  -4.381344   .8746506    -5.01   0.000     -6.12764   -2.635048
      enpres |   .1241149   .2460015     0.50   0.616     -.367043    .6152728
proximity1~s |   .8955534   .3678279     2.43   0.018     .1611614    1.629945
      logmag |   .7286217   .2682447     2.72   0.008     .1930539    1.264189
        eneg |   .2495295   .1588945     1.57   0.121    -.0677135    .5667725
 logmag_eneg |  -.1759704   .0797116    -2.21   0.031    -.3351197    -.016821
       _cons |   3.930796    .504561     7.79   0.000     2.923407    4.938184
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *     ****************************************************************  *;
. *                                   THE END                             *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. exit;

end of do-file

